package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.List;

public class RelicsMappingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsMappingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMappingIdIsNull() {
            addCriterion("mapping_id is null");
            return (Criteria) this;
        }

        public Criteria andMappingIdIsNotNull() {
            addCriterion("mapping_id is not null");
            return (Criteria) this;
        }

        public Criteria andMappingIdEqualTo(Integer value) {
            addCriterion("mapping_id =", value, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdNotEqualTo(Integer value) {
            addCriterion("mapping_id <>", value, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdGreaterThan(Integer value) {
            addCriterion("mapping_id >", value, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mapping_id >=", value, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdLessThan(Integer value) {
            addCriterion("mapping_id <", value, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdLessThanOrEqualTo(Integer value) {
            addCriterion("mapping_id <=", value, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdIn(List<Integer> values) {
            addCriterion("mapping_id in", values, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdNotIn(List<Integer> values) {
            addCriterion("mapping_id not in", values, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdBetween(Integer value1, Integer value2) {
            addCriterion("mapping_id between", value1, value2, "mappingId");
            return (Criteria) this;
        }

        public Criteria andMappingIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mapping_id not between", value1, value2, "mappingId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNull() {
            addCriterion("basic_id is null");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNotNull() {
            addCriterion("basic_id is not null");
            return (Criteria) this;
        }

        public Criteria andBasicIdEqualTo(Integer value) {
            addCriterion("basic_id =", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotEqualTo(Integer value) {
            addCriterion("basic_id <>", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThan(Integer value) {
            addCriterion("basic_id >", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("basic_id >=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThan(Integer value) {
            addCriterion("basic_id <", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThanOrEqualTo(Integer value) {
            addCriterion("basic_id <=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIn(List<Integer> values) {
            addCriterion("basic_id in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotIn(List<Integer> values) {
            addCriterion("basic_id not in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdBetween(Integer value1, Integer value2) {
            addCriterion("basic_id between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotBetween(Integer value1, Integer value2) {
            addCriterion("basic_id not between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNull() {
            addCriterion("basic_name is null");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNotNull() {
            addCriterion("basic_name is not null");
            return (Criteria) this;
        }

        public Criteria andBasicNameEqualTo(String value) {
            addCriterion("basic_name =", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotEqualTo(String value) {
            addCriterion("basic_name <>", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThan(String value) {
            addCriterion("basic_name >", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThanOrEqualTo(String value) {
            addCriterion("basic_name >=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThan(String value) {
            addCriterion("basic_name <", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThanOrEqualTo(String value) {
            addCriterion("basic_name <=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLike(String value) {
            addCriterion("basic_name like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotLike(String value) {
            addCriterion("basic_name not like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameIn(List<String> values) {
            addCriterion("basic_name in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotIn(List<String> values) {
            addCriterion("basic_name not in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameBetween(String value1, String value2) {
            addCriterion("basic_name between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotBetween(String value1, String value2) {
            addCriterion("basic_name not between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapIsNull() {
            addCriterion("total_dimen_map is null");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapIsNotNull() {
            addCriterion("total_dimen_map is not null");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapEqualTo(String value) {
            addCriterion("total_dimen_map =", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapNotEqualTo(String value) {
            addCriterion("total_dimen_map <>", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapGreaterThan(String value) {
            addCriterion("total_dimen_map >", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapGreaterThanOrEqualTo(String value) {
            addCriterion("total_dimen_map >=", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapLessThan(String value) {
            addCriterion("total_dimen_map <", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapLessThanOrEqualTo(String value) {
            addCriterion("total_dimen_map <=", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapLike(String value) {
            addCriterion("total_dimen_map like", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapNotLike(String value) {
            addCriterion("total_dimen_map not like", value, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapIn(List<String> values) {
            addCriterion("total_dimen_map in", values, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapNotIn(List<String> values) {
            addCriterion("total_dimen_map not in", values, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapBetween(String value1, String value2) {
            addCriterion("total_dimen_map between", value1, value2, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andTotalDimenMapNotBetween(String value1, String value2) {
            addCriterion("total_dimen_map not between", value1, value2, "totalDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapIsNull() {
            addCriterion("monad_dimen_map is null");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapIsNotNull() {
            addCriterion("monad_dimen_map is not null");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapEqualTo(String value) {
            addCriterion("monad_dimen_map =", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapNotEqualTo(String value) {
            addCriterion("monad_dimen_map <>", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapGreaterThan(String value) {
            addCriterion("monad_dimen_map >", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapGreaterThanOrEqualTo(String value) {
            addCriterion("monad_dimen_map >=", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapLessThan(String value) {
            addCriterion("monad_dimen_map <", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapLessThanOrEqualTo(String value) {
            addCriterion("monad_dimen_map <=", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapLike(String value) {
            addCriterion("monad_dimen_map like", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapNotLike(String value) {
            addCriterion("monad_dimen_map not like", value, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapIn(List<String> values) {
            addCriterion("monad_dimen_map in", values, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapNotIn(List<String> values) {
            addCriterion("monad_dimen_map not in", values, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapBetween(String value1, String value2) {
            addCriterion("monad_dimen_map between", value1, value2, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadDimenMapNotBetween(String value1, String value2) {
            addCriterion("monad_dimen_map not between", value1, value2, "monadDimenMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapIsNull() {
            addCriterion("monad_body_map is null");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapIsNotNull() {
            addCriterion("monad_body_map is not null");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapEqualTo(String value) {
            addCriterion("monad_body_map =", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapNotEqualTo(String value) {
            addCriterion("monad_body_map <>", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapGreaterThan(String value) {
            addCriterion("monad_body_map >", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapGreaterThanOrEqualTo(String value) {
            addCriterion("monad_body_map >=", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapLessThan(String value) {
            addCriterion("monad_body_map <", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapLessThanOrEqualTo(String value) {
            addCriterion("monad_body_map <=", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapLike(String value) {
            addCriterion("monad_body_map like", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapNotLike(String value) {
            addCriterion("monad_body_map not like", value, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapIn(List<String> values) {
            addCriterion("monad_body_map in", values, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapNotIn(List<String> values) {
            addCriterion("monad_body_map not in", values, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapBetween(String value1, String value2) {
            addCriterion("monad_body_map between", value1, value2, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadBodyMapNotBetween(String value1, String value2) {
            addCriterion("monad_body_map not between", value1, value2, "monadBodyMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapIsNull() {
            addCriterion("monad_profile_map is null");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapIsNotNull() {
            addCriterion("monad_profile_map is not null");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapEqualTo(String value) {
            addCriterion("monad_profile_map =", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapNotEqualTo(String value) {
            addCriterion("monad_profile_map <>", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapGreaterThan(String value) {
            addCriterion("monad_profile_map >", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapGreaterThanOrEqualTo(String value) {
            addCriterion("monad_profile_map >=", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapLessThan(String value) {
            addCriterion("monad_profile_map <", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapLessThanOrEqualTo(String value) {
            addCriterion("monad_profile_map <=", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapLike(String value) {
            addCriterion("monad_profile_map like", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapNotLike(String value) {
            addCriterion("monad_profile_map not like", value, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapIn(List<String> values) {
            addCriterion("monad_profile_map in", values, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapNotIn(List<String> values) {
            addCriterion("monad_profile_map not in", values, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapBetween(String value1, String value2) {
            addCriterion("monad_profile_map between", value1, value2, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andMonadProfileMapNotBetween(String value1, String value2) {
            addCriterion("monad_profile_map not between", value1, value2, "monadProfileMap");
            return (Criteria) this;
        }

        public Criteria andThinMapIsNull() {
            addCriterion("thin_map is null");
            return (Criteria) this;
        }

        public Criteria andThinMapIsNotNull() {
            addCriterion("thin_map is not null");
            return (Criteria) this;
        }

        public Criteria andThinMapEqualTo(String value) {
            addCriterion("thin_map =", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapNotEqualTo(String value) {
            addCriterion("thin_map <>", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapGreaterThan(String value) {
            addCriterion("thin_map >", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapGreaterThanOrEqualTo(String value) {
            addCriterion("thin_map >=", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapLessThan(String value) {
            addCriterion("thin_map <", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapLessThanOrEqualTo(String value) {
            addCriterion("thin_map <=", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapLike(String value) {
            addCriterion("thin_map like", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapNotLike(String value) {
            addCriterion("thin_map not like", value, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapIn(List<String> values) {
            addCriterion("thin_map in", values, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapNotIn(List<String> values) {
            addCriterion("thin_map not in", values, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapBetween(String value1, String value2) {
            addCriterion("thin_map between", value1, value2, "thinMap");
            return (Criteria) this;
        }

        public Criteria andThinMapNotBetween(String value1, String value2) {
            addCriterion("thin_map not between", value1, value2, "thinMap");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNull() {
            addCriterion("append1 is null");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNotNull() {
            addCriterion("append1 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend1EqualTo(String value) {
            addCriterion("append1 =", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotEqualTo(String value) {
            addCriterion("append1 <>", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThan(String value) {
            addCriterion("append1 >", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThanOrEqualTo(String value) {
            addCriterion("append1 >=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThan(String value) {
            addCriterion("append1 <", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThanOrEqualTo(String value) {
            addCriterion("append1 <=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Like(String value) {
            addCriterion("append1 like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotLike(String value) {
            addCriterion("append1 not like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1In(List<String> values) {
            addCriterion("append1 in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotIn(List<String> values) {
            addCriterion("append1 not in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Between(String value1, String value2) {
            addCriterion("append1 between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotBetween(String value1, String value2) {
            addCriterion("append1 not between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNull() {
            addCriterion("append2 is null");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNotNull() {
            addCriterion("append2 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend2EqualTo(String value) {
            addCriterion("append2 =", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotEqualTo(String value) {
            addCriterion("append2 <>", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThan(String value) {
            addCriterion("append2 >", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThanOrEqualTo(String value) {
            addCriterion("append2 >=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThan(String value) {
            addCriterion("append2 <", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThanOrEqualTo(String value) {
            addCriterion("append2 <=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Like(String value) {
            addCriterion("append2 like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotLike(String value) {
            addCriterion("append2 not like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2In(List<String> values) {
            addCriterion("append2 in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotIn(List<String> values) {
            addCriterion("append2 not in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Between(String value1, String value2) {
            addCriterion("append2 between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotBetween(String value1, String value2) {
            addCriterion("append2 not between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNull() {
            addCriterion("append3 is null");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNotNull() {
            addCriterion("append3 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend3EqualTo(String value) {
            addCriterion("append3 =", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotEqualTo(String value) {
            addCriterion("append3 <>", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThan(String value) {
            addCriterion("append3 >", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThanOrEqualTo(String value) {
            addCriterion("append3 >=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThan(String value) {
            addCriterion("append3 <", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThanOrEqualTo(String value) {
            addCriterion("append3 <=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Like(String value) {
            addCriterion("append3 like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotLike(String value) {
            addCriterion("append3 not like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3In(List<String> values) {
            addCriterion("append3 in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotIn(List<String> values) {
            addCriterion("append3 not in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Between(String value1, String value2) {
            addCriterion("append3 between", value1, value2, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotBetween(String value1, String value2) {
            addCriterion("append3 not between", value1, value2, "append3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}